package com.zhonghui.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * @author: FL
 * @create: 2024 2024/5/5 13:06
 */
@Data
public class OrderRecordVo implements Serializable {
    private Integer id;
    private String orderNo;
    private Integer payment;
    private Integer paymentType;
    private String payTypeDesc;
    private Integer postage;
    private String status;
    private String statusDesc;
    private Integer addressId;
    private String receiveName;
    private String receivePhone;
    private String province;
    private String city;
    private String area;
    private String street;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime updateTime;
    private String postalCode;
    private Integer userId;
    private List<OrderDetailVo> details;
}
